import request from '../utils/request';
//数据报表操作相关接口文档
const api = {
  //分页获取匹配的物料入库报表数据
  PageQueryInStockReportsDataList(data?: any) {
    return request({
      url: '/api/Report/PageQueryInStockReportsDataList',
      method: 'post',
      data,
    });
  },
  //分页获取匹配的物料出库报表数据
  PageQueryOutStockReportsDataList(data?: any) {
    return request({
      url: '/api/Report/PageQueryOutStockReportsDataList',
      method: 'post',
      data,
    });
  },
  //分页获取匹配的物料出库报表数据
  PageQueryProductionByOrderReport(data?: any) {
    return request({
      url: '/api/Report/PageQueryProductionByOrderReport',
      method: 'post',
      data,
    });
  },
  //报表管理-生产排程单（根据交期范围查询生产工艺为主体的生产统计数据）
  PageQueryProductionCraftTaskReport(data?: any) {
    return request({
      url: '/api/Report/PageQueryProductionCraftTaskReport',
      method: 'post',
      data,
    });
  },
  //报表管理-成品入库明细（根据入库日期范围查询协议书号为主体的成品入库数据）
  PageQueryFinishedProductInStockReport(data?: any) {
    return request({
      url: '/api/Report/PageQueryFinishedProductInStockReport',
      method: 'post',
      data,
    });
  },
  //报表管理-成品入库明细（根据入库日期范围查询协议书号为主体的成品入库数据）
  PageQueryFinishedProductOutStockReport(data?: any) {
    return request({
      url: '/api/Report/PageQueryFinishedProductOutStockReport',
      method: 'post',
      data,
    });
  },
  //报表管理-发货明细表
  PageQuerySaleOrderDeliveryMxReport(data?: any) {
    return request({
      url: '/api/Report/PageQuerySaleOrderDeliveryMxReport ',
      method: 'post',
      data,
    });
  },
  //分页查询成品报废报表(成品库存中需要报废的记录)
  PageQueryProductScrapViewListReport(data?: any) {
    return request({
      url: '/api/Report/PageQueryProductScrapViewListReport ',
      method: 'post',
      data,
    });
  },
  //分页查询物料报废报表(查的是物料库存信息里需要报废的物料)
  PageQueryGoodsScrapViewListReport(data?: any) {
    return request({
      url: '/api/Report/PageQueryGoodsScrapViewListReport ',
      method: 'post',
      data,
    });
  },
  //分页查询物料结存报表
  PageQueryStockBalancesReport(data?: any) {
    return request({
      url: '/api/Report/PageQueryStockBalancesReport ',
      method: 'post',
      data,
    });
  },
  //生产订单材料机台报表分页查询
  PageQueryProductionOrderMaterialMachineReport(data?: any) {
    return request({
      url: '/api/Report/PageQueryProductionOrderMaterialMachineReport ',
      method: 'post',
      data,
    });
  },
};
//业务开单接口
export default api;
